package com.blb.community_admin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.community_admin.entity.SysOperLog;
import com.blb.community_admin.mapper.OperationLogMapper;
import com.blb.community_admin.service.IOperationLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author hkp
 */
@Service
public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, SysOperLog> implements IOperationLogService {
    @Resource
    private OperationLogMapper operationLogMapper;

    @Override
    public IPage<SysOperLog> selectOperationLogPage(Integer current, Integer size, String title, String operName, Integer businessType, Integer status, String startTime, String endTime, String prop, String order) {
        return operationLogMapper.selectOperationLogPage(new Page<>(current, size), title, operName, businessType, status, startTime, endTime, prop, order);
    }
}
